package com.ruoyi.system.domain.zhuangxiumain.orderformMain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 *商品库存表
 *赵德健
 * */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class WarehouseProduct implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 商品库存ID */
  private Integer wpId;

  /** 商品ID */
  @Excel(name = "商品ID")
  private Integer productId;

  /** 仓库ID */
  @Excel(name = "仓库ID")
  private Integer wid;

  /** 当前商品数量 */
  @Excel(name = "当前商品数量")
  private Integer currentCnt;

  /** 当前占用数据 */
  @Excel(name = "当前占用数据")
  private Integer lockCnt;

  /** 在途数据 */
  @Excel(name = "在途数据")
  private Integer inTransitCnt;

  /** 移动加权成本 */
  @Excel(name = "移动加权成本")
  private Double averageCost;

  /** 最后修改时间 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date modifiedTime;

  @Excel(name = "商品名称")
  private String productName;



}
